<%@ page language="java" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="/common/taglibs.jsp"%>
<script type="text/javascript" src="${ctx}/resource/js/app/admin/operator/operator.js"></script>
<div class="content-wrap">
	<div class="content">
		<h6>操作员管理</h6>
		<div class="wrap-box">
			<input type="hidden" name="ctx" id="ctx"	value="${ctx}">
			<form action="" id="cardtypelistForm" method="post">
			<table class="table">
			<tbody>
				<tr>
					<td class="textRight">用户名:</td>
					<td><input type="text" name="qUserName" id="qUserName"/></td>
					<td class="textRight">登录名:</td>
					<td><input type="text" name="qLoginName" id="qLoginName"/></td>
				</tr>
				<tr>
					<td style="text-align:center;padding-right:35px;" colspan="6">
						<button type="button" class="btn-4" style="cursor:pointer" onclick="javascript:doQuery();">查询</button>
						<button type="button" style="cursor:pointer" class="btn-4" onclick="javascript:openAddAdmin();">新增操作员</button>
					</td>
				</tr>
			</tbody>
			</table>
			</form>
		</div>
		<div class="jQGridBox">
			<table id="adminList"></table>
			<div id="adminListPager"></div>
		</div>
	</div>
	<div id="addAdmin" style="display:none">
		<form action="${ctx}/admin/operator/add.htm" method="post" name="addAdminForm" id="addAdminForm" >
			<table class="table">
				<tr>
					<td class="textRight"><span class="red">*</span>登录名：</td>
					<td><input type="text" maxlength="20" id="addLoginName" name="loginName" class="width100"></td>
				</tr>
				<tr>
					<td class="textRight"><span class="red">*</span>用户名：</td>
					<td><input type="text" maxlength="20" id="addUseName" name="userName" class="width100"></td>
				</tr>
				<tr>
					<td class="textRight"><span class="red">*</span>密码：</td>
					<td><input type="password" maxlength="20" id="addPassword" name="password" class="width100"></td>
				</tr>
			</table>
		</form>
	</div>
	<div id="editAdmin" style="display:none">
		<form action="${ctx}/admin/operator/edit.htm" method="post" name="editAdminForm" id="editAdminForm" >
			<input type="hidden" id="editId" name="id" >
			<table class="table">
				<tr>
					<td class="textRight"><span class="red">*</span>登录名：</td>
					<td><input type="text" maxlength="20" id="editLoginName" name="loginName" class="width100"></td>
				</tr>
				<tr>
					<td class="textRight"><span class="red">*</span>用户名：</td>
					<td><input type="text" maxlength="20" id="editUserName" name="userName" class="width100"></td>
				</tr>
			</table>
		</form>
	</div>
	<div id="resetPwd" style="display:none">
		<form action="${ctx}/admin/operator/resetPwd.htm" method="post" name="resetPwdForm" id="resetPwdForm" >
			<input type="hidden" id="resetPwdId" name="id" >
			<table class="table">
				<tr>
					<td class="textRight"><span class="red">*</span>原密码：</td>
					<td><input type="password" maxlength="20" id="pwd" name="pwd" class="width100"></td>
				</tr>
				<tr>
					<td class="textRight"><span class="red">*</span>新密码：</td>
					<td><input type="password" maxlength="20" id="newPwd" name="newPwd" class="width100"></td>
				</tr>
				<tr>
					<td class="textRight"><span class="red">*</span>确认密码：</td>
					<td><input type="password" maxlength="20" id="confirmPwd" name="confirmPwd" class="width100"></td>
				</tr>
			</table>
		</form>
	</div>
</div>
<menu:menu pageUrl="baseinfo/cardtype/index.jhtml"/>